package com.hb.core.pojo.flow.entity;

import com.hb.core.pojo.parent.MPCommonEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhaojk
 * @since 2021-05-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("work_flow_form_field")
@ApiModel(value="FlowForm对象", description="发起流程的表单对象")
public class FlowFormField extends MPCommonEntity {

    @ApiModelProperty(value = "流程主表ID")
    private Long mainId;

    @ApiModelProperty(value = "字段代码")
    private String fieldCode;

    @ApiModelProperty(value = "字段名称")
    private String fieldName;

    @ApiModelProperty(value = "字段类型(1: 输入框, 2: 文本域, 3: 文件上传, 4: 日期选择框, 5: 部门下拉选择控件, 6: 角色下拉选择控件, 7: 用户下拉选择控件)")
    private Integer fieldType;

    @ApiModelProperty(value = "字段值")
    private String fieldValue;

    @ApiModelProperty(value = "排序号")
    private Integer sortNum;

}
